package com.xinyiweidai.xinyiweidai.util;

/**
 * classname: $CLASS_NAME$
 * Data：2018/9/10-13:20
 * Author: lanxiong
 * Description: api接口地址   payment是post  其他是get
 */

public class Api {


    private static final String BASE_URL = "http://xinyiweidai.ebaycloud.com.cn/";//https://app.maxcx.cn/  http://xinyiweidai.ebaycloud.com.cn/


    //登陆
    public static final String login = BASE_URL+"api/user/login";

    //登陆刷新
    public static final String refresh = BASE_URL+"api/user/userbind";

    //注册
    public static final String register = BASE_URL+"api/user/register";

    //发送验证码
    public static final String authCode = BASE_URL+"api/user/smssend";

    //重置密码
    public static final String reset = BASE_URL+"api/user/resetpwd";

    //身份认证
    public static final String idAuthentication = BASE_URL+"api/Sfz/savesfzInfo";

    //通讯录认证 post
    public static final String contacts = BASE_URL+"api/tongxun/index";

    //证件认证
    public static final String cardAuthentication = BASE_URL+"api/Android/accept";

    //申请借款
    public static final String loanMoney = BASE_URL+"api/ybs/SendTransferSingle";

    //绑定银行卡
    public static final String bindBank = BASE_URL+"api/demo/yhk";

    //版本更新
    public static final String updateVersion = BASE_URL+"api/index/version";

    //还款 post
    public static final String payment = BASE_URL+"api/pay/pay";

    //还款信息
    public static final String paymentInfo = BASE_URL+"api/repay/index";

    //借款记录
    public static final String loanHistory = BASE_URL+"api/Loan/LoanList";

    //客服电话
    public static final String getPhone = BASE_URL+"api/Gy/get_phone";

    //关于我们
    public static final String aboutUs = BASE_URL+"api/Gy/get_about";

    //token失效验证 post
    public static final String tokenCheck = BASE_URL+"api/token/check";








}
